export function getUrl(type) {
	let url = ''
	switch (process.env.NODE_ENV) {
		case 'development': {
			switch (type) {
        case 'mock': {
          url = `${process.env.VUE_APP_BASE_WEB_URL}:${process.env.VUE_APP_BASE_WEB_PORT}/mock/74`
          break
        }
        case 'WEB': {
          url = `${process.env.VUE_APP_BASE_WEB_URL}:${process.env.VUE_APP_BASE_WEB_PORT}`
          break
        }
			}
			break
		}
		case 'staging': {
			switch (type) {
				case 'WEB': {
					url = `${process.env.VUE_APP_BASE_WEB_URL}:${process.env.VUE_APP_BASE_WEB_PORT}`
					break
				}
			}
			break
		}
		case 'production': {
			switch (type) {
				case 'WEB': {
					url = `${process.env.VUE_APP_BASE_WEB_URL}:${process.env.VUE_APP_BASE_WEB_PORT}`
					break
				}
			}
			break
		}
	}
	return url
}
